package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZQW
 */
public class Disease extends Model<Disease> {

private static final long serialVersionUID=1L;

    /**
     * ID主键
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 疾病助记编码
     */
    @TableField("DiseaseCode")
    private String DiseaseCode;

    /**
     * 疾病名称
     */
    @TableField("DiseaseName")
    private String DiseaseName;

    /**
     * 国际ICD编码
     */
    @TableField("DiseaseICD")
    private String DiseaseICD;

    /**
     * 疾病所属分类
     */
    @TableField("DiseCategoryID")
    private Integer DiseCategoryID;

    /**
     * 删除标记
     */
    @TableField("DelMark")
    private Integer DelMark;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDiseaseCode() {
        return DiseaseCode;
    }

    public void setDiseaseCode(String DiseaseCode) {
        this.DiseaseCode = DiseaseCode;
    }

    public String getDiseaseName() {
        return DiseaseName;
    }

    public void setDiseaseName(String DiseaseName) {
        this.DiseaseName = DiseaseName;
    }

    public String getDiseaseICD() {
        return DiseaseICD;
    }

    public void setDiseaseICD(String DiseaseICD) {
        this.DiseaseICD = DiseaseICD;
    }

    public Integer getDiseCategoryID() {
        return DiseCategoryID;
    }

    public void setDiseCategoryID(Integer DiseCategoryID) {
        this.DiseCategoryID = DiseCategoryID;
    }

    public Integer getDelMark() {
        return DelMark;
    }

    public void setDelMark(Integer DelMark) {
        this.DelMark = DelMark;
    }

    public static final String ID = "ID";

    public static final String DISEASECODE = "DiseaseCode";

    public static final String DISEASENAME = "DiseaseName";

    public static final String DISEASEICD = "DiseaseICD";

    public static final String DISECATEGORYID = "DiseCategoryID";

    public static final String DELMARK = "DelMark";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Disease{" +
        "id=" + id +
        ", DiseaseCode=" + DiseaseCode +
        ", DiseaseName=" + DiseaseName +
        ", DiseaseICD=" + DiseaseICD +
        ", DiseCategoryID=" + DiseCategoryID +
        ", DelMark=" + DelMark +
        "}";
    }
}
